import axios from 'axios';
import showMessage from '@/utils/showMessage';
export default async function getBLogs(params) {
    const resp = await axios({ url:'https://douban-api.uieee.com/v2/movie/in_theaters', method: 'get',data:params });
    if (resp.data.code === 0) {
        return resp.data.data;
    } else {
        return showMessage(resp.data.msg, 'error', 1000, About)
    }

}